package com.entor.model;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Partymember extends BaseClass{
	
	private String national;//民族id
	private String nation;//民族姓名
	private String industry;//行业名称
	private String nplace;//籍贯
	private String marital;//婚姻状况
	private Date joinTime;//入党时间
	private Date positiveTime;//转正时间
	private Date workTime;//工作时间
	private String idcard;
	private String pmr;//入党介绍人
	private String pmbranch;//入党所在
	private String pposts;//党内职务
	private String education;//学历
	private String graschool;//毕业院校
	private String industryid;//所在行业id
	private String tell;//电话
	private String joinT;
	private String positiveT;
	private String workT;
	private String email;
	private String grade;
	
	
	
	
	
	


	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getIndustry() {
		return industry;
	}
	public void setIndustry(String industry) {
		this.industry = industry;
	}
	public String getJoinT() {
		if(this.joinTime==null)
			return joinT;
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		return sdf.format(joinTime);
		
	}
	public void setJoinT(String joinT) {
		this.joinT = joinT;
	}
	public String getPositiveT() {
		if(this.positiveTime==null)
			return positiveT;
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		return sdf.format(positiveTime);
		
	}
	public void setPositiveT(String positiveT) {
		this.positiveT = positiveT;
	}
	public String getWorkT() {
		
		if(this.workTime==null)
			return workT;
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		return sdf.format(workTime);
	}
	public void setWorkT(String workT) {
		this.workT = workT;
	}
	public String getTell() {
		return tell;
	}
	public void setTell(String tell) {
		this.tell = tell;
	}
	public String getNational() {
		return national;
	}
	public void setNational(String national) {
		this.national = national;
	}
	public String getNplace() {
		return nplace;
	}
	public void setNplace(String nplace) {
		this.nplace = nplace;
	}
	public String getMarital() {
		return marital;
	}
	public void setMarital(String marital) {
		this.marital = marital;
	}
	public Date getJoinTime() {
		return joinTime;
	}
	public void setJoinTime(Date joinTime) {
		this.joinTime = joinTime;
	}
	public Date getPositiveTime() {
		return positiveTime;
	}
	public void setPositiveTime(Date positiveTime) {
		this.positiveTime = positiveTime;
	}
	public Date getWorkTime() {
		return workTime;
	}
	public void setWorkTime(Date workTime) {
		this.workTime = workTime;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getPmr() {
		return pmr;
	}
	public void setPmr(String pmr) {
		this.pmr = pmr;
	}
	public String getPmbranch() {
		return pmbranch;
	}
	public void setPmbranch(String pmbranch) {
		this.pmbranch = pmbranch;
	}
	public String getPposts() {
		return pposts;
	}
	public void setPposts(String pposts) {
		this.pposts = pposts;
	}

	public String getEducation() {
		return education;
	}
	public void setEducation(String education) {
		this.education = education;
	}
	public String getGraschool() {
		return graschool;
	}
	public void setGraschool(String graschool) {
		this.graschool = graschool;
	}
	public String getIndustryid() {
		return industryid;
	}
	public void setIndustryid(String industryid) {
		this.industryid = industryid;
	}

	
	
	
	
}
